﻿using System.Collections.Generic; 

namespace Titan
{
    /// <summary>
    /// 描述一个条件集合
    /// </summary>
    public interface IConditionCollection:IList<IConditionExpression>,IConditionExpression
    {
        ConditionRelation ConditionRelation { get; set; }

        /// <summary>构造函数</summary>
        /// <param name="propertyName">初始化搜索条件的字段全称</param>
        /// <param name="conditionOperator">初始化搜索运算类型</param>
        /// <param name="conditionValue">初始化搜索的条件值</param>
        void Add(string propertyName, ConditionOperator conditionOperator, object conditionValue); 
        
    }
}
